package com.crm.dao.mapper.customerManager;

import com.crm.model.entity.customerManager.Competitor;
import com.crm.model.entity.customerManager.CompetitorExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CompetitorMapper {
    long countByExample(CompetitorExample example);

    int deleteByExample(CompetitorExample example);

    int deleteByPrimaryKey(String competitorId);

    int insert(Competitor record);

    int insertSelective(Competitor record);

    List<Competitor> selectByExample(CompetitorExample example);

    Competitor selectByPrimaryKey(String competitorId);

    int updateByExampleSelective(@Param("record") Competitor record, @Param("example") CompetitorExample example);

    int updateByExample(@Param("record") Competitor record, @Param("example") CompetitorExample example);

    int updateByPrimaryKeySelective(Competitor record);

    int updateByPrimaryKey(Competitor record);
}